package com.fanbo.bean;

import com.fanbo.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerComponent {

  @Reference
  private HelloService helloService;

  public String sayHello(String name){
    return helloService.sayHello(name);
  }

  public String methodA(){
    return helloService.methodA();
  }

  public String methodB(){
    return helloService.methodB();
  }

  public String methodC(){
    return helloService.methodC();
  }
}
